﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ds.DataBase.Model
{
    /// <summary>
    /// 科室
    /// </summary>
    public class KeShi
    {
        /// <summary>
        /// 科室Id
        /// </summary>
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ksid { set; get; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string ksmc { set; get; }
        ///// <summary>
        ///// 科室内职位
        ///// </summary>
        //public virtual ICollection<ZhiWei> ZhiWeis { set; get; }

        public virtual ICollection<KeShiZhiWu> keshizhiwus { set; get; }
    }
}